#ifndef __C_GAME_H__
#define __C_GAME_H__

class CGame
{
public:
	static CGame* GetInstance() {return s_pInstance;}
	virtual ~CGame() {}
	virtual void Run();
	virtual void Exit();
	virtual void Pause();
	virtual void Resume();
	bool IsAlive() {return m_isAlived;}
	bool IsPause() {return m_isPaused;}
protected:
	CGame();
	static CGame* s_pInstance;
	virtual void Init() = 0;
	virtual void Destroy() = 0;
	bool m_isAlived;
	bool m_isPaused;
};

#endif